<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var data = {
            pagenum: 1,
            pagesize: 2
        }

        // 给对象加一个自定义属性
        data.cate_id = 59;

        // 删除对象的属性
        delete data.pagenum;

        console.log(data);
    </script>
</body>
</html>